Accelerator SAP S/4HANA Orders System API - Implementation Template

(0 reviews)

Setup guide

Please review the pre-requisite setup instructions for setting up SAP connector on MuleSoft.

Importing Templates into Anypoint Studio

  1. In Studio, click the Exchange X icon in the upper left of the taskbar.
  2. Log in with your Anypoint Platform credentials.
  3. Search for the template
  4. Click Open.

Running Templates in Anypoint Studio

After you import your template into Studio, follow these configuration steps to run it:

  1. Right-click the template project folder.
  2. Hover your mouse over 'Run as'.
  3. Click Mule Application (configure).
  4. Inside the dialog, select Environment and set the variable:
    • mule.env to the appropriate value (e.g., dev or local).
    • mule.key to the property encryption key that you used to encrypt your secure properties.
  5. Click Run.

HTTP Configuration

  • http.host — sets the service host interface. It should be configured in config-<mule.env>.yaml file. (Defaults to 0.0.0.0 for all interfaces)
  • https.port — sets the service port number. It should be configured in config-<mule.env>.yaml file. (Default 8082)

Testing it

  • Use Advanced Rest Client or Postman to send a request over HTTP. The template includes a postman collection in the src/test/resources folder.
  • The environment file for the Postman collection is also included in the src/test/resources folder.

Reviews

TypeTemplate
OrganizationMulesoft Inc.
Published by
MuleSoft Solutions
Published onJan 31, 2022
Asset overview

Asset versions for 2.4.x

Asset versions
VersionActions
2.4.0